PROGRAM main
  VAR
    fb : FB_BAR;
    bInOut : BOOL;
    bOut : BOOL;
  END_VAR

bInOut := TRUE;
fb(bIn := TRUE, bInOut := bInOut, bOut => bOut);
ASSERT(bOut = TRUE);
ASSERT(bInOut = FALSE);

bInOut := TRUE;
FUNC_FOO(bIn := TRUE, bInOut := bInOut, bOut => bOut);
ASSERT(bOut = TRUE);
ASSERT(bInOut = FALSE);
END_PROGRAM
